PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


DrawThemePlacard

Draws a placard.

pascal OSStatus DrawThemePlacard (
                     const Rect *inRect,
                     ThemeDrawState inState);
inRect
A pointer to a structure of type Rect . Before calling DrawThemePlacard , set the rectangle to a size and position that contains the placard, in local coordinates.
inState
A value of type ThemeDrawState . Pass a constant specifying the state in which to draw the placard; see Theme Draw State Constants . The placard can be drawn as active, inactive, or pressed.
function result
A result code; see Result Codes .
DISCUSSION

The DrawThemePlacard function draws a theme-compliant placard inside the specified rectangle.

VERSION NOTES

Available with Appearance Manager 1.0 and later.


© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)